#ifndef RESULTSVIEWER_H
#define RESULTSVIEWER_H

#include <QWidget>
#include <QList>

class Player;

class ResultsViewer : public QWidget
{
	Q_OBJECT
	
	public:
		enum Mode {GameResult};
		
		ResultsViewer(QWidget *parent = 0);
		
		void setMode(Mode mode, const QList<Player*> &players);
		
	protected:
		void paintEvent(QPaintEvent *event);
		
	private:
		Mode m_mode;
		QList<Player*> m_players;
};

#endif
